package com.zhong.subject.domain.convert;

import com.zhong.subject.domain.bo.SubjectAnswerBO;
import com.zhong.subject.infra.basic.entity.SubjectMultiple;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper //此注解为mapstruct包下的
public interface SubjectMultipleConverter {
    SubjectMultipleConverter INSTANCE = Mappers.getMapper(SubjectMultipleConverter.class);

    SubjectMultiple convertBoToMultiple(SubjectAnswerBO subjectAnswerBO);
    List<SubjectAnswerBO> convertsMultipleListToAnswerBO(List<SubjectMultiple> subjectMultipleList);



}
